package ac.zlf.maven.template;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * <p>Project: bee-projects</p>
 * <p>Description:   </p>
 * <p>Copyright: Copyright (c) 2016 </p>
 *
 * @author Administrator
 * @version 1.0
 *
 */
public class DemoRun {
//    Log log  = LogFactory.getLog(DemoRun.class);;
    Logger logger = LoggerFactory.getLogger(DemoRun.class);

    /**
     * 测试logger
     */
    public void test(){
        logger.debug("debug-----------");
        logger.info("info-------------");
        logger.error("error===========");
        logger.warn("warn=============");
//        log.debug("debug-----------");
        System.out.println("demo---------------");
    }

    /**
     * 执行主类
     *
     * @param args ss
     */
    public static void main(String[] args) {
        new DemoRun().test();
    }
}
